package com.zhongbei.service;

import com.zhongbei.pojo.Member;

import java.util.List;

public interface MemberService {//新增一条数据
    int insertMember(Member member);
    //id删除
    int deleteMemberByMemberId(Integer memberId);
    //改
    int updateMemberByMemberId(Member member);
    //查询根据memberid
    List<Member> selectMemberByMemberId(Integer memberId);
    //查询根据membername
    List<Member> selectMemberByMemberName(String memberName);
}
